package com.example.ymm.modules1.entity.my.user;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 部门-成员
 */

@Data
public class ViewDeptUser implements Serializable {

    private String userId;

    @Schema(name= "名称")
    private String userName;

    @Schema(name= "手机")
    private String phone;

    @Schema(name= "头像")
    private String avatar;

    @Schema(name= "状态,0正常,1冻结")
    private Integer state;

    @Schema(name= "积分总数")
    Integer integral;

    private Integer isDelete;


    @TableField(fill= FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;



    private String associatedUnionid;

    String unionid;

    String levelName;//职级

    private String deptId;

    private String deptName;




}
